package model.path;

import java.util.ArrayList;

import matrix.GraphNode;
import model.trajectory.TargetModel;

import utils.TimeSpan;


public class PathMeetingPoint 
{
	private GraphNode node;
	private ArrayList<TargetModel> targets;
	private TimeSpan timeSpan;
	
	public PathMeetingPoint(GraphNode node, TimeSpan timeSpan)
	{
		this.node = node;
		this.timeSpan = timeSpan;
		this.targets = new ArrayList<TargetModel>();
	}
	
	public GraphNode getMeetingNode()
	{
		return this.node;
	}
	
	public void setNode(GraphNode node)
	{
		this.node = node;
	}
	
	public TimeSpan getTimeSpan()
	{
		return timeSpan;
	}
	
	public void setTimeSpan(TimeSpan timeSpan)
	{
		this.timeSpan = timeSpan;
	}
	
	public void addTarget(TargetModel target)
	{
		this.targets.add(target);
	}
	
	public ArrayList<TargetModel> getTargets()
	{
		return this.targets;
	}
}